﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp7
{
    class Person
    {
        private string name;
        private string introduce;
        private int attack;
        private int defense;
        private int speed;
        private string skill;
        public Person(string name, string introduce, int attack, int defense, int speed, string skill)
        {
            this.Name = name;
            this.Introduce = introduce;
            this.Attack = attack;
            this.Defense = defense;
            this.Speed = speed;
            this.Skill = skill;
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        public string Introduce
        {
            get { return introduce; }
            set { introduce = value; }
        }
        public int Attack
        {
            get { return attack; }
            set { attack = value; }
        }
        public int Defense
        {
            get { return defense; }
            set { defense = value; }
        }
        public int Speed
        {
            get { return speed; }
            set { speed = value; }
        }
        public string Skill
        {
            get { return skill; }
            set { skill = value; }
        }
    }
    class Ailuoke : Person
    {
        public Ailuoke(string Name, string Introduce, int Attack, int Defense, int Speed, string Skill)
            : base(Name, Introduce, Attack, Defense, Speed, Skill)
        {

        }
        public void Hello()
        {
            Console.WriteLine("我叫{0}，{1}，攻击力 {2}，防御力 {3}，速度 {4}，技能 {5}",
                this.Name, this.Introduce, this.Attack, this.Defense, this.Speed, this.Skill);
        }
    }
    class Taila : Person
    {
        public Taila(string Name, string Introduce, int Attack, int Defense, int Speed, string Skill)
            : base(Name, Introduce, Attack, Defense, Speed, Skill)
        {

        }
        public void Hello1()
        {
            Console.WriteLine("我叫{0}，{1}，攻击力 {2}，防御力 {3}，速度 {4}，技能 {5}",
                this.Name, this.Introduce, this.Attack, this.Defense, this.Speed, this.Skill);
        }
    }
    class Luikasi : Person
    {
        public Luikasi(string Name, string Introduce, int Attack, int Defense, int Speed, string Skill)
            : base(Name, Introduce, Attack, Defense, Speed, Skill)
        {

        }
        public void Hello2()
        {
            Console.WriteLine("我叫{0}，{1}，攻击力 {2}，防御力 {3}，速度 {4}，技能 {5}",
                this.Name, this.Introduce, this.Attack, this.Defense, this.Speed, this.Skill);
        }
    }
    class Luofei : Person
    {
        public Luofei(string Name, string Introduce, int Attack, int Defense, int Speed, string Skill)
            : base(Name, Introduce, Attack, Defense, Speed, Skill)
        {

        }
        public void Hello3()
        {
            Console.WriteLine("我叫{0}，{1}，攻击力 {2}，防御力 {3}，速度 {4}，技能 {5}",
                this.Name, this.Introduce, this.Attack, this.Defense, this.Speed, this.Skill);
        }
    }
}
